<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>登录管理</title>
	<link rel="stylesheet" type="text/css" href="easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="easyui/themes/icon.css">
	<script type="text/javascript" src="easyui/jquery.min.js"></script>
	<script type="text/javascript" src="easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="easyui/locale/easyui-lang-zh_CN.js"></script>
</head>
<body>
	<table id="dg" class="easyui-datagrid" title="登录管理" style="width:auto;height:auto"
			data-options="
				singleSelect: true,
				toolbar: '#tb',
				url: 'bzjcry',
				method: 'get',
				toolbar:'#tb',
				rownumbers:true,
				pagination:true,
				pageSize:10
			">
		<thead>
			<tr>
				<th data-options="field:'id',width:120">ID</th>
				<th data-options="field:'cerNo',width:180">身份证号</th>
				<th data-options="field:'legalNo',width:180,align:'right'">执法证号</th>
				<th data-options="field:'name',width:80,align:'left',editor:'numberbox'">姓名</th>
				<th data-options="field:'sex',width:80,editor:'textbox'">性别</th>
				<th data-options="field:'mobTel',width:120,align:'center',editor:'numberbox'">手机号</th>
				<th data-options="field:'corpName',width:200,align:'center',editor:'numberbox'">所在单位</th>
				<th data-options="field:'deptName',width:250,align:'center',editor:'numberbox'">所在部门</th>
				<th data-options="field:'expertise',width:100,align:'center',editor:'numberbox'">专长</th>
				<th data-options="field:'bizOrg',width:80,align:'center',editor:'numberbox'">单位标识</th>
				<th data-options="field:'employeeCode',width:120,align:'center',editor:'numberbox'">编码</th>
			</tr>
		</thead>
	</table>
	 <div id="tb" style="padding:5px;height:auto">
			<div style="margin-bottom:5px">
				&nbsp;&nbsp;姓名: <input class="easyui-textbox" style="width:180px" id="search">
				<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" data-options="iconCls:'icon-search',plain:true" onclick="searchGep()">查询</a>
				<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-clear" data-options="iconCls:'icon-clear',plain:true" onclick="clearGep()">清空</a>
			</div>
		</div>
	<script type="text/javascript">
		function searchGep(){
			var datajosn = { "name": $("#search").val()}
			$.ajax({
				   type: "GET",
				   url: "bzjcry",
				   data: datajosn,
				   success: function(data){
					   $("#dg").datagrid("loadData", data);
				   }
				});
		}
		function clearGep(){
			$("#search").textbox('setValue','');
		}
	</script>
</body>
</html>